﻿@if(Request.IsAuthenticated) {
    <text>Velkomin(n) <strong>@Html.ActionLink(@User.Identity.Name, "viewUser/"+@User.Identity.Name, "User")</strong>!
	<br />
	@if (User.IsInRole("Student"))
	{
		<p>Stig:</p>
		<text>/</text>
	}
    [ @Html.ActionLink("Útskrá", "LogOff", "Account") ]</text>
}
else
{
    @:[ @Html.ActionLink("Innskrá", "LogOn", "Account") ]
}
